/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entidades;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 *
 * @author luksCastro
 */
@Entity
@Table(name = "selconfig")
@NamedQueries({
    @NamedQuery(name = "Selconfig.findAll", query = "SELECT s FROM Selconfig s")})
public class Selconfig implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic(optional = false)
    @Column(name = "idSELConfig")
    private Integer idSELConfig;
    @Column(name = "razonSocial")
    private String razonSocial;
    @Column(name = "responsable")
    private String responsable;
    @Column(name = "direccion")
    private String direccion;
    @Column(name = "iva")
    private String iva;
    @Column(name = "cuit")
    private String cuit;
    @Column(name = "ingBrutos")
    private String ingBrutos;
    @Column(name = "inicioActividades")
    @Temporal(TemporalType.DATE)
    private Date inicioActividades;
    @Column(name = "telefono")
    private String telefono;
    @Column(name = "mail")
    private String mail;
    @Column(name = "cupoReparacion")
    private Integer cupoReparacion;
    @Column(name = "sloganNegocio")
    private String sloganNegocio;
    @OneToMany(mappedBy = "sELConfigidSELConfig")
    private List<Empleado> empleadoList;

    public Selconfig() {
    }

    public Selconfig(Integer idSELConfig) {
        this.idSELConfig = idSELConfig;
    }

    public Integer getIdSELConfig() {
        return idSELConfig;
    }

    public void setIdSELConfig(Integer idSELConfig) {
        this.idSELConfig = idSELConfig;
    }

    public String getRazonSocial() {
        return razonSocial;
    }

    public void setRazonSocial(String razonSocial) {
        this.razonSocial = razonSocial;
    }

    public String getResponsable() {
        return responsable;
    }

    public void setResponsable(String responsable) {
        this.responsable = responsable;
    }

    public String getDireccion() {
        return direccion;
    }

    public void setDireccion(String direccion) {
        this.direccion = direccion;
    }

    public String getIva() {
        return iva;
    }

    public void setIva(String iva) {
        this.iva = iva;
    }

    public String getCuit() {
        return cuit;
    }

    public void setCuit(String cuit) {
        this.cuit = cuit;
    }

    public String getIngBrutos() {
        return ingBrutos;
    }

    public void setIngBrutos(String ingBrutos) {
        this.ingBrutos = ingBrutos;
    }

    public Date getInicioActividades() {
        return inicioActividades;
    }

    public void setInicioActividades(Date inicioActividades) {
        this.inicioActividades = inicioActividades;
    }

    public String getTelefono() {
        return telefono;
    }

    public void setTelefono(String telefono) {
        this.telefono = telefono;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public Integer getCupoReparacion() {
        return cupoReparacion;
    }

    public void setCupoReparacion(Integer cupoReparacion) {
        this.cupoReparacion = cupoReparacion;
    }

    public String getSloganNegocio() {
        return sloganNegocio;
    }

    public void setSloganNegocio(String sloganNegocio) {
        this.sloganNegocio = sloganNegocio;
    }

    public List<Empleado> getEmpleadoList() {
        return empleadoList;
    }

    public void setEmpleadoList(List<Empleado> empleadoList) {
        this.empleadoList = empleadoList;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (idSELConfig != null ? idSELConfig.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Selconfig)) {
            return false;
        }
        Selconfig other = (Selconfig) object;
        if ((this.idSELConfig == null && other.idSELConfig != null) || (this.idSELConfig != null && !this.idSELConfig.equals(other.idSELConfig))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "Entidades.Selconfig[ idSELConfig=" + idSELConfig + " ]";
    }
    
}
